package jhavelogger.data;

import com.maxmind.geoip.Location;

/**
 * Interface for services that lookup location information about IP addresses.
 * 
 * @author Jared Schlicht
 */
public interface IPLookup {
    /**
     * Looks up information about the specified ip address
     * @param ip the ip address to lookup information about
     * @return GeoIP location object
     */
    public abstract Location getIpLocation(String ip);
}